package itcast.lsf.domain;

import java.util.Date;

public class User2 {
    private String name;
    private Integer age;
    private Date date;

   //set注入


    public void setName(String name) {
        this.name = name;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public void testPut2(){
        System.out.println(name+","+age+","+date);
    }
}
